Skip to content

Conversation

@a11n
Copy link
Contributor

@a11n a11n commented Sep 1, 2015

Hi,

first of all many thanks for publishing an official project for custom Lint rules. 👍🏻

I just noticed a minor issue. There was a misleading issue message if the manifest contains no <activity> tag. It states "[...] AndroidManifest.xml to have an tag [...]". But it's only looking for <activity>. Even if you add an <application> tag to the manifest in testMissingApplication() this Issue is still reported. So I assume it's an error.

I fixed the message and the test case accordingly.

(I furthermore replaced EnumSet.of(Scope.MANIFEST) with the corresponding constant Scope.MANIFEST_SCOPE which is more readable IMHO).

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@a11n
Copy link
Contributor Author

a11n commented Sep 1, 2015

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

@grant
Copy link
Contributor

grant commented Sep 1, 2015

Thanks for the correction.

grant added a commit that referenced this pull request Sep 1, 2015
@grant grant merged commit dccc9c5 into googlesamples:master Sep 1, 2015
@a11n a11n deleted the issue-message branch September 2, 2015 06:09
tnorbye added a commit that referenced this pull request Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants